package org.example.statistics.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 统计月份报对象 b_statistics_month_money
 *
 * @author 小孟微信：xiaomengcode
 * @date 2024-05-18
 */
public class StatisticsMonthMoney extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long contractId;

    /** ID */
    private Long statisticsId;

    /** 月份 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "月份", width = 30, dateFormat = "yyyy-MM")
    private Date dateMonth;

    /** 采购金额 */
    @Excel(name = "采购金额")
    private BigDecimal buyTotalMoney;

    /** 销售金额 */
    @Excel(name = "销售金额")
    private BigDecimal sellTotalMoney;

    /** 利润 */
    @Excel(name = "利润")
    private BigDecimal profitTotalMoney;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal payTotalMoney;

    /** 收入金额 */
    @Excel(name = "收入金额")
    private BigDecimal incomeTotalMoney;

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public void setStatisticsId(Long statisticsId)
    {
        this.statisticsId = statisticsId;
    }

    public Long getStatisticsId()
    {
        return statisticsId;
    }
    public void setDateMonth(Date dateMonth)
    {
        this.dateMonth = dateMonth;
    }

    public Date getDateMonth()
    {
        return dateMonth;
    }
    public void setBuyTotalMoney(BigDecimal buyTotalMoney)
    {
        this.buyTotalMoney = buyTotalMoney;
    }

    public BigDecimal getBuyTotalMoney()
    {
        return buyTotalMoney;
    }
    public void setSellTotalMoney(BigDecimal sellTotalMoney)
    {
        this.sellTotalMoney = sellTotalMoney;
    }

    public BigDecimal getSellTotalMoney()
    {
        return sellTotalMoney;
    }
    public void setProfitTotalMoney(BigDecimal profitTotalMoney)
    {
        this.profitTotalMoney = profitTotalMoney;
    }

    public BigDecimal getProfitTotalMoney()
    {
        return profitTotalMoney;
    }
    public void setPayTotalMoney(BigDecimal payTotalMoney)
    {
        this.payTotalMoney = payTotalMoney;
    }

    public BigDecimal getPayTotalMoney()
    {
        return payTotalMoney;
    }
    public void setIncomeTotalMoney(BigDecimal incomeTotalMoney)
    {
        this.incomeTotalMoney = incomeTotalMoney;
    }

    public BigDecimal getIncomeTotalMoney()
    {
        return incomeTotalMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("statisticsId", getStatisticsId())
            .append("dateMonth", getDateMonth())
            .append("buyTotalMoney", getBuyTotalMoney())
            .append("sellTotalMoney", getSellTotalMoney())
            .append("profitTotalMoney", getProfitTotalMoney())
            .append("payTotalMoney", getPayTotalMoney())
            .append("incomeTotalMoney", getIncomeTotalMoney())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .toString();
    }
}
